﻿namespace TC
{
    public class Delay_blueprint : TranslateBlueprint
    {
        public override editor.cfg.blueprint.Node OnTranslate(Node node)
        {
            Delay t = node as Delay;
            editor.cfg.blueprint.Delay re = new editor.cfg.blueprint.Delay();
            re.id = t.id;
            re.waitFinish = false;
            re.seconds = t.interval;

            return re;
        }
    }
}
